package com.zj.services;

import com.zj.pojo.Apple;

import java.util.List;

public interface BaseService<T> {
    public int insertApples(T apple);

    public T getAppleById(int id);

    public List<T> updateAppleById(int id, T apple);

    public List<T> getApppool();

    public List<T> deleteApple(int id);
}
